/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package edu.hpvas.control;

/**
 *
 * @author sony
 */
public class Restrictions {
    
    public boolean validateSpecialC(String s){
        
        for(int i=0; i<s.length(); i++){
            if(s.charAt(i)!=' '){
                if(s.charAt(i)<48 || (s.charAt(i)>57 && s.charAt(i)<65) || (s.charAt(i)>90 && s.charAt(i)<97) ||
                        s.charAt(i)>122){
                    return false;
                }
            }
        }
        return true;
    }
}
